Record a trace
{TODO: intro paragraph - one or two sentences on what recording produces and when to use it}
Record from the UI
To record profiling data:
- Select Start recording.
- Use the application to collect data.
- Select Stop recording to view the results.
Record a command from the command line
{TODO: procedure for the --launch option, which takes a full command line such as "/path/to/app --arg". See the launch option in qtprofilermain.cpp and recordExecutable/recordArguments in qtprofilersettings.h}
Record for a fixed duration
{TODO: procedure for --record-for, which takes a positive number of seconds, starts recording on launch, stops after the duration, and then shows the trace. It is meant to be combined with --launch and optionally --backend. See startTimedRecording() in qtprofilerwindow.h}
See also Getting started and Command-line options.